Сценарии
Редактировал(а) Alexandr Fokin 2024/09/30 14:14
Поиск типа |
| ||
Find a private field with Reflection? Using C# reflection to call a constructor Invoke method by MethodInfo | |||
Получение типа независимо от nullable | PropertyInfo prop; var type = Nullable.GetUnderlyingType(prop.PropertyType) ?? prop.PropertyType; | ||
Формирование конкретного типа на основе Generic | Type.MakeGenericType C# Type MakeGenericType |